\ProvidesClass{document}
\LoadClass[11pt,a4paper,twoside]{article}

\usepackage{graphicx}
\usepackage{moreverb}
\usepackage{fancyhdr}
\usepackage{ifthen}
\usepackage{pifont}
\usepackage{amsmath,amssymb}
\usepackage[utf8]{inputenc}
\usepackage{ngerman}
\usepackage[T1]{fontenc}
\usepackage{color}
	\definecolor{red}{rgb}{1,0,0}
\usepackage[colorlinks=true, linkcolor=black, citecolor=black,
             raiselinks=true, urlcolor=blue]{hyperref}
\usepackage[all]{hypcap}
\usepackage{multicol}
\usepackage[noindentafter]{titlesec}
\usepackage{longtable}
\usepackage{ragged2e, tabularx}
\usepackage{listings}
\newcolumntype{Y}{>{\RaggedRight\arraybackslash}X}

\usepackage{wasysym}
\usepackage{boxedminipage}
\usepackage{float}
\restylefloat{figure}
\restylefloat{table}

\setlength{\parindent}{0ex}
\setlength{\parskip}{1ex}

\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{4}
\setcounter{section}{0}

%\titleformat{\paragraph}[hang]{\bf}{\thetitle\quad}{0pt}{}						
%\titlespacing{\paragraph}{0pt}{1em}{0.5em} 

%\pagestyle{empty}
%    \fancyhead{} %clear all fields
%    \fancyhead[LO,RE]{Beschreibung: Implementierung des OOPS-�bersetzers \\ \textbf{OOPS-Doku}}
%    \fancyhead[RO,LE]{\leftmark \\ \rightmark}
%    \fancyfoot{} %clear all fields
%    \fancyfoot[RO,LE]{\thepage}

\setlength{\headheight}{14pt}
\setlength{\textwidth}{14cm}
\setlength{\topmargin}{-1cm}
\setlength{\evensidemargin}{1cm}
\setlength{\oddsidemargin}{1cm}
\setlength{\textheight}{24cm}


\lstset{language=Java,breaklines=true,basicstyle=\small}

\newcommand{\TODO}[1]%
{
	\begin{minipage}[h!]{\textwidth}
		\vspace*{1cm}    
		\textcolor{red}{\textbf{\textit{TODO: #1}}}
		\vspace*{1cm}
	\end{minipage}
}

\newcommand{\Picture}[3]%
{
	\begin{figure}[!ht]
		\centering
			\includegraphics*{#1}
		\caption{#2}
		\label{fig:#3}
	\end{figure}
}

\newcommand{\PictureWide}[3]%
{
	\begin{figure}[!ht]
		\centering
			\includegraphics*[width=\textwidth]{#1}
		\caption{#2}
		\label{fig:#3}
	\end{figure}
}

\newcommand{\PictureWideSnd}[4]%
{
	\begin{figure}[!ht]
		\centering
			\includegraphics*[width=#4]{#1}
		\caption{#2}
		\label{fig:#3}
	\end{figure}
}

\newcommand{\QuoteMe}[1]{``#1''}

%------------------------------------------------------------------%

\newcommand{\frontpage}[1]%
{
	\thispagestyle{empty}
	
	\vspace{3cm}
	
	\begin{minipage}[H]{\textwidth}
	  \begin{center}
	    \bf
	    \Large
	    Übersetzer-Praktikum \\
	    \smallskip
	    \small
	    VAK 03-ME-705.03 \\
	    \vspace{.3cm}
	    \large
	    SoSe 2011 \\
	    \vspace{3cm}
	  \end{center}
	\end{minipage}

	  %\begin{figure}[h!]
	  %  \center{ \includegraphics[width=.7\textwidth]{../images/E-Mail.jpg} }
	  %\end{figure}
	
	\begin{minipage}[H]{\textwidth}
	  \begin{center}
	    \vspace{3cm}
	    \bf
	    \Huge Beschreibung: \\ Implementierung des OOPS-Übersetzers \\
	    \vfill
	  \end{center}
	\end{minipage}
	
	\vfill
	
	\begin{minipage}[H]{\textwidth}
	  \begin{center}
	  	\sf
	    \begin{tabular}{rlr}
	      \vspace{.4cm}
	      \large{Dozenten:}& \multicolumn{2}{l}{\large{Dr. Thomas Röfer und Dr. Berthold Hoffmann}} \\
	      Bearbeitet von  & Jonathan Burke  & burke@uni-bremen.de \\        
	      				  & Tino Flenker	  & flenkium@informatik.uni-bremen.de \\             
	      				  & Mathäus Wojt	  & matindaw@informatik.uni-bremen.de
	    \end{tabular}
	    \\ ~
	    \vspace{2cm}
	    \\
	    \it Abgabe: 30. September 2011 \\ ~
	  \end{center}
	\end{minipage}
	
	\newpage
}
